package models

import "time"

type CmdRecord struct {
	ID             	int      		`gorm:"primary_key"`
	Cmd  			string			`gorm:"type:text"`
	Count			int
	CreatedAt		time.Time		`json:"create_time"`
}


type OpsScript struct {
	ID             	int      		`gorm:"primary_key"`
	ScriptName		string			`gorm:"not null;unique"`
	ScriptMsg		string
	ScriptArg		string
	ScriptText		string			`gorm:"type:text"`
	AddUser			string
	CreatedAt		time.Time		`json:"create_time"`
}




